<?php
class tagComponents extends sfComponents {
  public function executeTagCloud(sfWebRequest $request)
  {
    $this->tags = Doctrine::getTable('Tag')->retrieveTagsWithWeight();
    $this->baseFontSize = doubleval(sfConfig::get('app_fontSizes_base'));
    $this->maxFontSize = doubleval(sfConfig::get('app_fontSizes_max'));
  }
}
?>
